<div class="warpper">
	<div id="top">
		<h1>四季CMS后台管理系统 Version {$config.version_number}</h1>
		<ul>
			<li id="yellowbtn">
				<a href="__APP__/center/WebConfig/">系统设置</a>
			</li>
			<li>超级管理员：{$admin_name}<a href="__APP__/center/center/changepwd/">&nbsp;[修改密码]</a>&nbsp;<a href="__APP__/center/frame/clear_cache/?step=1">&nbsp;[清除缓存]</a>&nbsp;<a href="javascript:logout('__APP__/center/center/logout/');">&nbsp;[注销]</a>&nbsp;</li>
		</ul>
	</div>
</div>
<div id="menu">
	<ul class="menu">
		<li><a href="__APP__/center/frame/index/"><span>后台首页</span></a></li>
		<foreach name="catalogList" item="cataobj">
		<php>
			//查询该导航是否有子导航
			$subList = CatalogHelper::getList("is_hidden=0 AND pid=".$cataobj["catalog_id"]);
			$hasSub = empty($subList)?false:true;
		</php>
		<li><a href="<php>echo CatalogHelper::getAdminItemAddr($cataobj,$hasSub);</php>"><span>{$cataobj.catalog_name}</span></a>
		<php>echo CatalogHelper::getAdminSubitemStr($cataobj["catalog_id"],$subCatalogList);</php>
		</li>
		</foreach>
	</ul>
</div>
